import type { App } from 'vue';

import CzBannerPage from '@/components/cz-banner-page/index';
import CzBar from '@/components/cz-bar/index';
import CzIcp from '@/components/cz-icp/index';
import CzImageCover from '@/components/cz-image-cover/index';
import CzDiamondLoading from '@/components/cz-loading/Diamond';
import CzLoading from '@/components/cz-loading/index';
import CzLetterLoading from '@/components/cz-loading/LetterCude';
import CzPagination from '@/components/cz-pagination/index';
import CzSvg from '@/components/cz-svg/index';
import CzTyping from '@/components/cz-typing';

function install(app: App) {
  app.use(CzTyping);
  app.use(CzSvg);

  app.use(CzPagination);
  app.use(CzLetterLoading);
  app.use(CzDiamondLoading);
  app.use(CzLoading);
  app.use(CzImageCover);
  app.use(CzBar);
  app.use(CzIcp);
  app.use(CzBannerPage);
}

export default {
  install
};
